<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
					<form role="form" action="" method="post" class="form-horizontal m-t"  id="signupForm">
						<input type="hidden" id="taskId" name="taskId" th:value="${leave.task.getId()}" />
						<div class="form-group">
                            <span class="col-sm-3 control-label"> 
	                            <label>申请人：</label>
                            </span>
                            <div class="col-sm-8"> 
                            	<input class="form-control" id="userid" name="user_id"  readonly="readonly" th:value="${leave?.user_id}"/>
                            </div>
                        </div>
						<div class="form-group has-feedback">
							<label class="col-sm-3 control-label">申请时间：</label>
							 <div class="col-sm-8">
	                            <div class="ibox float-e-margins">
	                                 <input class="form-control" id="applytime" name="apply_time"  readonly="readonly" th:value="${leave?.apply_time}"/>
	                            </div>
                        	</div>  
						</div>
                        <div class="form-group has-feedback">
							<label class="col-sm-3 control-label">开始时间：</label>
							 <div class="col-sm-8">
	                            <div class="ibox float-e-margins">
	                                  <input class="form-control" id="startime"  name="start_time"  readonly="readonly" th:value="${leave?.start_time}"/>
			             		</div>
                        	</div>  
						</div>
			             <div class="form-group has-feedback">
							<label class="col-sm-3 control-label">结束时间：</label>
							 <div class="col-sm-8">
	                            <div class="ibox float-e-margins">
	                                  <input class="form-control" id="endtime" name="end_time"   readonly="readonly" th:value="${leave?.end_time}"/>
			             		</div>
                        	</div>  
						</div>
                        <div class="form-group">
							<label class="col-sm-3 control-label ">请假类型：</label> 
							<div class="col-lg-8 col-sm-8 col-xs-8">
								<select name="leave_type" class="form-control" disabled >
									<option value="事假"  th:selected="${leave?.leave_type eq '事假'}"  >事假</option> 
									<option value="产假"  th:selected="${leave?.leave_type eq '产假'}" >产假</option>
								</select>
							</div>
						</div> 
			            <div class="form-group has-feedback">
							<label class="col-sm-3 control-label">请假原因：</label>
							 <div class="col-sm-8">
	                            <div class="ibox float-e-margins">
	                                   <input class="form-control" id="reason"  name="reason" readonly="readonly" th:value="${leave?.reason}"/>
			             		</div>
                        	</div>  
						</div> 
			             <div class="form-group has-feedback">
							<label class="col-sm-3 control-label">真实开始时间：</label>
							 <div class="col-sm-8">
	                            <div class="ibox float-e-margins">
	                               <input id="realstart_time" class="form-control" name="realstart_time" placeholder="开始时间"/><span class="fa fa-calendar txt-danger form-control-feedback"></span>
	                            </div>
                        	</div>  
						</div>
						<div class="form-group has-feedback">
							<label class="col-sm-3 control-label">真实结束时间：</label>
							 <div class="col-sm-8">
	                            <div class="ibox float-e-margins">
	                               <input id="realend_time" class="form-control" name="realend_time" placeholder="结束时间"/><span class="fa fa-calendar txt-danger form-control-feedback"></span>
								</div>
                        	</div>  
						</div>
						<div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
<!--                            <a class="btn btn-primary btn-sm " onclick="goBack()"><i class="fa fa-arrow-circle-left">返回</i></a> -->
		                        <button id="btn" type="button" class="btn btn-primary">完成</button>
	                        </div>
                        </div> 
			            
                     </form>
				 </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
</body>
</html>
<script type="text/javascript" src="/js/layui.js"></script>
<script type="text/javascript" src="/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="/ueditor/ueditor.all.js"></script>
<script type="text/javascript" src="/ueditor/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript" src="/js/activiti/report_edit.js?v=1"> </script>
<script type="text/javascript">
<!--

//-->
$('#realstart_time').datepicker({setDate: new Date(), dateFormat: 'yyyy-mm-dd'});
$('#realend_time').datepicker({setDate: new Date(), dateFormat: 'yyyy-mm-dd'});
</script>
</body>
</html>  